
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import './assets/css/main.scss'
import 'virtual:uno.css'
import * as ElIconList from '@element-plus/icons-vue'

const app = createApp(App)

app.use(createPinia()).use(ElementPlus)
app.use(router)

// 注册icon
for (const name in ElIconList) {
    app.component(name, ElIconList[name])
  }

app.mount('#app')
